/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package desarrollosoft.ghce.vista.implementaciones;

import desarrollosoft.ghce.entidades.PlantillaEstudioImagenes;
import org.zkoss.bind.annotation.Init;
import org.zkoss.zk.ui.Execution;
import org.zkoss.zk.ui.Executions;

/**
 *
 * @author ariel
 */
public class ControladoraVentanaDetallesPlantillaEstudioImagenes {
    
    private PlantillaEstudioImagenes plantillaEstudioImagenes;
    
    private boolean editable;
    
    @Init
    public void inicializar() {
        Execution ejecucion = Executions.getCurrent();
        plantillaEstudioImagenes = (PlantillaEstudioImagenes) ejecucion.getArg().get("plantillaEstudioImagenes");
        editable = (Boolean) ejecucion.getArg().get("editable");
    }
    
    public PlantillaEstudioImagenes getPlantillaEstudioImagenes() {
        return plantillaEstudioImagenes;
    }
    
    public boolean getEditable() {
        return editable;
    }
}
